<!DOCTYPE html>
<html>
<head>

  <title>Boostnote Finder</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>


  <link rel="stylesheet" href="../node_modules/font-awesome/css/font-awesome.min.css" media="screen" charset="utf-8">
  <link rel="shortcut icon" href="favicon.ico">
  <link rel="stylesheet" href="../node_modules/codemirror/lib/codemirror.css">

  <style>
  @font-face {
    font-family: 'Lato';
    src: url('../resources/fonts/Lato-Regular.woff2') format('woff2'), /* Modern Browsers */
         url('../resources/fonts/Lato-Regular.woff') format('woff'), /* Modern Browsers */
         url('../resources/fonts/Lato-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
  }
  </style>
</head>
<body>
  <div id="content"></div>

  <script src="../node_modules/codemirror/lib/codemirror.js"></script>
  <script src="../node_modules/codemirror/mode/meta.js"></script>
  <script src="../node_modules/codemirror/addon/mode/overlay.js"></script>
  <script src="../node_modules/codemirror/addon/mode/loadmode.js"></script>
  <script src="../node_modules/codemirror/keymap/sublime.js"></script>
  <script src="../node_modules/codemirror/keymap/vim.js"></script>
  <script src="../node_modules/codemirror/keymap/emacs.js"></script>
  <script src="../node_modules/codemirror/addon/runmode/runmode.js"></script>

  <script src="../node_modules/raphael/raphael.min.js"></script>
  <script src="../node_modules/flowchart.js/release/flowchart.min.js"></script>

  <script src="../node_modules/katex/dist/katex.min.js"></script>
  <script src="../node_modules/react/dist/react.min.js"></script>
  <script src="../node_modules/react-dom/dist/react-dom.min.js"></script>
  <script src="../node_modules/redux/dist/redux.min.js"></script>
  <script src="../node_modules/react-redux/dist/react-redux.min.js"></script>
  <script>
    window._ = require('lodash');
  </script>
  <script src="../node_modules/js-sequence-diagrams/fucknpm/sequence-diagram-min.js"></script>
  <script>
    const electron = require('electron')
    electron.webFrame.setZoomLevelLimits(1, 1)
    const _ = require('lodash')
    var scriptUrl = _.find(electron.remote.process.argv, (a) => a === '--hot')
      ? 'http://localhost:8080/assets/finder.js'
      : '../compiled/finder.js'
    var scriptEl = document.createElement('script')
    scriptEl.setAttribute('type', 'text/javascript')
    scriptEl.setAttribute('src', scriptUrl)
    document.body.appendChild(scriptEl)
  </script>
</body>
</html>
